package org.dtrd.modules.doctor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.doctor.entity.bean.StatisticsDoctorPatientDetail;
import org.dtrd.modules.doctor.entity.po.DtrdRlStatisticsDoctorPatient;

/**
 * <p>
 * 医生关联患者统计数据服务类
 * </p>
 *
 * @author xiao
 * @since 2022-06-14
 */
public interface IDtrdRlStatisticsDoctorPatientService extends IService<DtrdRlStatisticsDoctorPatient> {

    StatisticsDoctorPatientDetail getStatisticsDoctorPatient(Integer dataId);

    boolean saveOrUpdateStatisticsDoctorPatient(StatisticsDoctorPatientDetail dto);

    boolean removeStatisticsDoctorPatient(Integer dataId);

    void onConcernChange(Integer doctorId, Integer count);
}
